package com.zxy.dao;

import cn.echo.annotation.PageX;
import com.zxy.model.Category;
import com.zxy.model.CategoryQuery;
import com.zxy.model.RegisterInfo;
import com.zxy.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryDao {
    @PageX
    List<Category> select(CategoryQuery query);
//查询万能接口
    int insert(Category category);
    int update(Category category);
    int delete(int id);
}
